{% extends "Common/AdminBase.html" %}
{% load filters %} 
{% block Location %}

<li class="current" ><a href='/AdminMain/Board/Index/'>留言板</a></li>
<li>/</li>
<li class="current">留言详细</li>
<script>
//设置当前导航
Nav_Page="Board";
</script>

{% endblock %}


{% block content %}

 

<div class="contentcontainer">
	
            <div class="headings alt">
                <h2>留言详细</h2>
            </div>
            <div class="contentbox">
            	  <div style="width:100%;float:left">
					<p style="float:left;width:350px">
                        <label for="textfield"><strong>姓名</strong></label>
                        <input disabled type="text" value='{{Model.ApplyUserName}}'  class="inputbox"> 
						<br>
                    </p>
                   
					<p style="float:left;">
                        <label  for="textfield"><strong>电话</strong></label>
                        <input disabled  type="text" value='{{Model.ApplyPhone}}'  class="inputbox"> 
						<br>
                    </p>
				</div>
				
				 <div style="width:100%;float:left">
					<p style="float:left;width:350px">
                        <label for="textfield"><strong>邮箱</strong></label>
                        <input disabled type="text" value='{{Model.ApplyMail}}'  class="inputbox">
						<br>
                    </p>
					
					<p style="float:left;">
                        <label for="textfield"><strong>提交时间</strong></label>
						 <input type="text" disabled  class="inputbox" value='{{Model.ApplyTime|date:"Y-m-d"}}'>
						<br>
                    </p>
					
				</div>
					
				<div style="width:100%;float:left">
					<p style="float:left;width:350px">
                        <label for="textfield"><strong>内容</strong></label>
                            <textarea disabled style=" width:320px; height:100px; text-align:left">{{Model.ApplyContent}}</textarea>
						
						<br>
                    </p>
					
					<p style="float:left;">
                        <label for="textfield"><strong>回复内容</strong></label>
						 <textarea disabled style=" width:320px; height:100px; text-align:left">{{Model.ReplyContent}}</textarea>
						<br>
                    </p>
				</div>
				
				
					{% ifequal Model.State True %}
						
				
				
				  <div style="width:100%;float:left">
					<p style="float:left;width:350px">
                        <label for="textfield"><strong>回复人姓名</strong></label>
                        <input disabled type="text" value='{{Model.ReplyUserName}}'  class="inputbox"> 
						<br>
                    </p>
                   
					<p style="float:left;">
                        <label for="textfield"><strong>回复时间</strong></label>
						 <input type="text" disabled  class="inputbox" value='{{Model.ReplyTime|date:"Y-m-d"}}'>
						<br>
                    </p>
				</div>
				
				 {% endifequal %}
					<p style="float:left;width:350px">
				
                    	 显示在首页:
						 {% ifequal Model.IsOpen True %}
							<img src="/site_media/admin/img/icons/icon_approve.png" alt="Approve">
						 {% else %}
						<img src="/site_media/admin/img/icons/icon_unapprove.png" alt="Approve">
						{% endifequal %}
						
						&nbsp;&nbsp;&nbsp;
						 是否已回复:
						 {% ifequal Model.State True %}
						<img src="/site_media/admin/img/icons/icon_approve.png" alt="Approve">
						 {% else %}
						<img src="/site_media/admin/img/icons/icon_unapprove.png" alt="Approve">
						{% endifequal %}
						
						
							<br>	 	<br>	
						 
						 <input type="button" value="返 回" class="btnalt" onclick=" window.location='/AdminMain/Board/Index'" >
					</p>
					   
					
               </div>
          
        </div>
		

		
{% endblock %}

